const { App_PORT } = require('./config/config.default');

const app = require('./app');
// 默认返回路由
// app.use(async (ctx, next) => {
//     ctx.body = 'Hello world';
// });
// 开启服务监听
app.listen(App_PORT, () => {
    console.log('Server is running on port http://localhost:' + App_PORT);
});